<include file="Public:header" />
<table>
	<tr>
		<td><a href="__URL__/edit/id/{$id}">基本修改</a></td>
		<td><a href="__URL__/music/id/{$id}">歌曲修改</a></td>
	</tr>
</table>
<table>
	<form action="__URL__/edit" method="post">
	<input type="hidden" name="id" value="{$data.id}" />
	<tr>
		<td>音乐名称:</td>
		<td><input type="text" name="musicName" value="{$data.musicname}" /></td>
	</tr>
	<tr>
		<td>音乐歌手:</td>
		<td>
			<select name="authorId" >
				<option value="0">请选择分类</option>
			<foreach name="author" item="v">
				<option value="{$v.id}" <if condition="$v.id eq $data.authorid ">selected</if>>{$v.authorname}</option>
			</foreach>	
			</select>
		</td>
	</tr>
	<tr>
		<td>歌曲分类:</td>
		<td>
			<select name="sortsId">
				<option value="0">请选择分类</option>
			<foreach name="sorts" item="v">
				
				<option value="{$v.id}" <if condition="$v.id eq $data.sortsid ">selected</if> >{$v.sortsname}</option>
			</foreach>	
			</select>
		</td>
	</tr>
	<tr>
		<td>推荐分类:</td>
		<td>
			<select name="shareId">
				<option value="0">请选择分类</option>
			<foreach name="share" item="v">
				<option value="{$v.id}" <if condition="$v.id eq $data.shareid ">selected</if>>{$v.sharename}</option>
			</foreach>	
			</select>
		</td>
	</tr>
	<tr>
		<td>试听次数:</td>
		<td>
			<input type="text" name="musicCount" value="{$data.musiccount}" />
		</td>
	</tr>
	<tr>
		<td>歌词:</td>
		<td>
			<textarea cols="50" name="musicLyric" style="height:100px;">{$data.musiclyric}</textarea>
		</td>
	</tr>
	<tr>
		<td></td>
		<td><input type="submit" /></td>
	</tr>
	</form>
</table>